 
import { ABaseDecision } from "GameLoop/DecisionMaking/BaseDecision";
/**
 * 更新建筑缓存
 */
export class UpdateStationCacheDecision< T extends "room"="room"> extends ABaseDecision<T>
{
   
    public isExpired(event: AddRoomEvent, region: string): boolean 
    {
        return true;
    }
    public makeTask(event: AddRoomEvent, region: string): IDecisionCode<T>|false
    {
        
        this.WorldGetter.Station.PollStructure(event.room,true);
        this.WorldGetter.Station.PollConstructSites(event.room,true);
        return false;
        // return code
    }
    
}